projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4a3351
)
Shorten WPT line to make it less likely to trigger bug in Meridian flash
author
robertl
<robertl>
Tue, 6 May 2003 22:11:14 +0000
(22:11 +0000)
committer
robertl
<robertl>
Tue, 6 May 2003 22:11:14 +0000
(22:11 +0000)
file parsing in the firmware of the unit.
magproto.c
patch
|
blob
|
history
diff --git
a/magproto.c
b/magproto.c
index 9b89ace7ba6263c661ce592fa964e8d339cad431..ff2f6f085f202460fc32239666ab18174a34533b 100644
(file)
--- a/
magproto.c
+++ b/
magproto.c
@@
-1181,7
+1181,7
@@
mag_waypt_pr(const waypoint *waypointp)
odesc = mag_cleanse(odesc);
}
- sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%
07
.lf,M,%-.8s,%-.30s,%s",
+ sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%.lf,M,%-.8s,%-.30s,%s",
lat, ilat < 0 ? 'S' : 'N',
lon, ilon < 0 ? 'W' : 'E',
waypointp->position.altitude.altitude_meters == unknown_alt ?